<?php 
echo $this->formSelect('roles-list', null, array('style' => 'display:none;'), $this->roles);
$this->headScript()->appendFile('/js/ecart/admin/users.js');
?>

<script type="text/javascript">
Ext.onReady(function(){
    var rolesList = Ext.decode('<?php echo $this->jsonRoles?>')
});
</script>